﻿using CommunityToolkit.Mvvm.ComponentModel;
using XYAC.Framework.WohuaMesExtend.IHI.LocalData.Models;

namespace XYAC.Framework.WohuaMesExtend.IHI.ViewModels
{
    public partial class YB_LOT_INSPECTViewModel : ObservableObject
    {
        [ObservableProperty]
        private LocalData.Models.YB_LOT_INSPECT_Local _inspectModel;


        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="inspectModel"></param>
        public YB_LOT_INSPECTViewModel(YB_LOT_INSPECT_Local inspectModel)
        {
            _inspectModel = inspectModel;
            LocalSyncState = 0; // 初始同步状态
        }

        /// <summary>
        /// 本地同步状态
        /// </summary>
        [ObservableProperty]
        private int _localSyncState;
    }
}
